Data Compression Techniques for Branch Prediction
نویسنده
چکیده
Without special handling branch instructions would disrupt the smooth flow of instructions into the microprocessor pipeline. To eliminate this disruption, many modern systems attempt to predict the outcome of branch instructions, and use this prediction to fetch, decode and even evaluate future instructions. Recently, researchers have realized that the task of branch prediction for processor optimization is similar to the task of symbol prediction for data compression. Substantial progress has been made in developing approximations to asymptotically optimal compression methods, while respecting the limited resources available within the instruction prefetching phase of the processor pipeline. Not only does the infusion of data compression ideas result in a theoretical fortification of branch prediction, it results in real and significant empirical improvement in performance, as well. We present an overview of branch prediction, beginning with early techniques through more recent data compression inspired schemes. A new approach is described which uses a non-parametric probability density estimator similar to the LZ77 compression scheme [23]. Results are presented comparing the branch prediction accuracy of several schemes with those achieved by our new approach.
منابع مشابه
N a S a Technical Note Compression of Video Data by Adaptive Nonlinear Prediction
Both a survey of the theory of adaptive data prediction and a description of the computer simulation of the data compression mechanism a r e presented. Results of simula tions of the conditional expectation predictor allow compar isons with other techniques. Also included are comments on the problem of coding for a data compression system, the characteristics of the Tiros TV cloud cover pictu...
متن کاملPredicting Indirect Branches via Data Compression
Branch prediction is a key mechanism used to achieve high performance on multiple issue, deeply pipelined processors. By predicting the branch outcome at the instruction fetch stage of the pipeline, superscalar processors are better able to exploit Instruction Level Parallelism (ILP) by providing a larger window of instructions. However, when a branch is mispredicted, instructions from the misp...
متن کاملImage Data Compression by Predictive Coding I: Prediction Algorithms
This paper deals with predictive coding techniques for efficient transmission or storage of two-level (black and white) digital images. Part I discusses algorithms for prediction. A predictor transforms the two-dimensional dependence in the original data into a form which can be handled by coding techniques for one-dimensional data. The implementation and performance of a fixed predictor, an ad...
متن کاملUNIVERSITÄT AUGSBURG Predictive Modeling for Lossless Audio Compression
Autoregressive (AR) modeling by linear prediction (LP) provides the basis of a wide variety of signal processing and communication systems including parametric spectral estimation and system identification. Perhaps the greatest success of linear prediction techniques is to be found in speech analysis and audio coding. In this paper, we first reviewed the general frameworks of predictive signal ...
متن کاملMEDICAL IMAGE COMPRESSION: A REVIEW
Within recent years the use of medical images for diagnosis purposes has become necessity. The limitation in transmission and storage space also growing size of medical images has necessitated the need for efficient method, then image Compression is required as an efficient way to reduces irrelevant and redundancy of the image data in order to be able to store or transmits data. It also reduces...
متن کامل